package com.hmall.client.cart;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.Collection;


@FeignClient(value = "cart-service")
public interface CartClient {
    @DeleteMapping("inner/cart")
    void deleteCartItemByIds(@RequestParam("userId")Long userId,@RequestParam("ids") Collection<Long> ids);
}
